package com.xlyy.modbus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author zhoucanji
 * @since 2024-04-28
 */
@TableName("my_properity")
public class MyProperity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 类别
     */
    private String categorize;

    /**
     * 项目
     */
    private String name;

    /**
     * 位置
     */
    private Integer ref;

    private Integer refRef;

    /**
     * 排序
     */
    private Integer sort;

    private String del;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCategorize() {
        return categorize;
    }

    public void setCategorize(String categorize) {
        this.categorize = categorize;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getRef() {
        return ref;
    }

    public void setRef(Integer ref) {
        this.ref = ref;
    }

    public Integer getRefRef() {
        return refRef;
    }

    public void setRefRef(Integer refRef) {
        this.refRef = refRef;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getDel() {
        return del;
    }

    public void setDel(String del) {
        this.del = del;
    }

    @Override
    public String toString() {
        return "MyProperity{" +
                "id = " + id +
                ", categorize = " + categorize +
                ", name = " + name +
                ", ref = " + ref +
                ", refRef = " + refRef +
                ", sort = " + sort +
                "}";
    }
}
